package com.atguigu.jvm;

public class MethodStackTest {

    public static void method01() {
        System.out.println("[1]method 01 开始");
        method02();
        System.out.println("[2]method 01 结束");
    }

    public static void method02() {
        System.out.println("[3]method 02 开始");
        method03();
        System.out.println("[4]method 02 结束");
    }

    public static void method03() {
        System.out.println("[5]method 03 执行。" + (10 / 0));
    }

    public static void main(String[] args) {
        method01();
    }

}
